<style type="text/css">
    .modal-lg {
        width: 70%;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">个人信息</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
    <div ng-if="isWXUser">
      <div class="form-group">
        <label class="col-lg-3 control-label">昵称:</label>
        <label class="col-lg-2 control-label text-left">{{userInfo.nickname}}</label>
        <label class="col-lg-2 control-label">性别:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.sex==1?'男':userInfo.sex==2?'女':'未知'}}</label>
        <!-- <label class="col-lg-2 control-label">头像:</label>
        <img src={{userInfo.headimgurl}} width="50" height="50" /> -->
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">手机:</label>
        <label class="col-lg-2 control-label text-left">{{userInfo.mobile}}</label>
        <label class="col-lg-2 control-label">地区:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.city}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">用户分组ID:</label>
        <label class="col-lg-2 control-label text-left">{{userInfo.groupid || '无'}}</label>
        <label class="col-lg-2 control-label">用户标签:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.tagid_list || '无'}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">关注的公众号:</label>
        <label class="col-lg-2 control-label text-left">{{userInfo.wxid}}</label>
        <label class="col-lg-2 control-label">微信用户标识:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.user_base}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">openid:</label>
        <label class="col-lg-4 control-label text-left">{{userInfo.openid}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">绑定微信开放平台ID:</label>
        <label class="col-lg-4 control-label text-left">{{userInfo.unionid}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">备注:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.remarks}}</label>
      </div>
    </div>

    <div ng-if="!isWXUser">
      <div class="form-group">
        <label class="col-lg-3 control-label">姓名:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.username}}</label>
        <label class="col-lg-2 control-label">注册时间:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.registime}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">手机:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.mobile}}</label>
        <label class="col-lg-2 control-label">昵称:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.nickname || '无'}}</label>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label">是否有补贴:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.subsidystatus==1?'是':'否'}}</label>
      </div>
      <div class="form-group" ng-if="userInfo.subsidystatus==1">
        <label class="col-lg-3 control-label">政府补贴:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.govsubsidy * 0.01}}</label>
        <label class="col-lg-2 control-label">慧鼎补贴:</label>
        <label class="col-lg-3 control-label text-left">{{userInfo.hdsubsidy * 0.01}}</label>
      </div>
      <div ng-if="userInfo.status==1">
        <div class="line line-dashed b-b line-lg pull-in"></div>
        <i>实名制信息</i>
        <div class="form-group">
          <label class="col-lg-3 control-label">姓名:</label>
          <label class="col-lg-3 control-label text-left">{{userInfo.username}}</label>
          <label class="col-lg-2 control-label">实名时间:</label>
          <label class="col-lg-3 control-label text-left">{{userInfo.authtime | date:'yyyy-MM-dd HH:mm:ss'}}</label>
        </div>
        <div class="form-group">
          <label class="col-lg-3 control-label">地址:</label>
          <label class="col-lg-4 control-label text-left">{{userInfo.postaddress}}</label>
        </div>
        <div class="form-group">
          <label class="col-lg-3 control-label">身份证号:</label>
          <label class="col-lg-4 control-label text-left">{{userInfo.papersno}}</label>
        </div>
      </div>
    </div>
  </form>

</div>
<div class="modal-footer">
  <button class="btn btn-danger" type="button" ng-click="cancel()">关闭</button>
</div>